import React from "react";
import { HashRouter as Router, Route, Routes } from "react-router-dom";
import BusMain from "../components/BusComp/BusMain"
import BusDetail from "../components/BusComp/BusDetail"
import MyTicket from "../components/BusComp/MyTicket"

export default function movie() {
  return (
    <div>
      <Routes>
          <Route path="/" element={<BusMain></BusMain>}></Route>
          <Route path="/custom_shuttle" element={<BusMain></BusMain>} ></Route>
          <Route path="/detail/:id" element={<BusDetail></BusDetail>} ></Route>
          <Route path="/ticket" element={<MyTicket></MyTicket>} ></Route>
        </Routes>
    </div>
  )
}
